using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ByHand.Model;
using ByHand.Data.Interfaces;

namespace ByHand.Services.Interfaces
{
    public interface IOrderService : IRepository<Order>
    {
        List<Order> GetByProduct(int productID);
        List<Order> GetByPage(int page, int pagesize, out int total);
        List<Order> GetByPageFilter(int page, int pagesize, out int total,string filter);
        List<Order> GetByStatus(int page, int pagesize, out int total, int status);
        List<Order> GetByStatusFilter(int page, int pagesize, out int total, string filter,int status);
    }
}
